package com.dongdongshop.service.order;

import com.dongdongshop.pojo.cart.Cart;
import com.dongdongshop.pojo.order.TbOrder;
import com.dongdongshop.pojo.order_item.TbOrderItem;

import java.util.List;

public interface OrderService {
    String insertOrder(Long addressId, String pay, List<Cart> order);

    void updateStatusToHave(String out_trade_no,String trade_no);

    List<TbOrder> listOrder(String s,String username);

    void updateStatusToRefund(String out_trade_no, String trade_no, String out_request_no);

    List<TbOrderItem> listOrderByOrderParent(String out_trade_no);
}
